# 数据库的配置信息
from urllib import parse
HOSTNAME = 'localhost'
PORT = '3306'
DATABASE = 'rgj'
USERNAME = 'root'
PASSWORD = 'rac1104@'
PWD = parse.quote_plus(PASSWORD)
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PWD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI